<?php

namespace App\Policies;


use App\Models\User;
use App\Models\Def\MainGamePlat;

class MainGamePlatPolicy extends Policy
{
    public function index(User $user, MainGamePlat $mainGamePlat)
    {
        return $user->can('manage_main_game_plat');
    }

    public function create(User $user, MainGamePlat $mainGamePlat)
    {
        return $user->can('manage_main_game_plat');
    }

    public function update(User $user, MainGamePlat $mainGamePlat)
    {
        return $user->can('manage_main_game_plat');
    }

    public function destroy(User $user, MainGamePlat $mainGamePlat)
    {
        return $user->can('manage_main_game_plat');
    }
}
